package com.morehair.service.admin;

import com.morehair.bean.bo.admin.BaseReq;
import com.morehair.bean.pojo.Coupon;
import com.morehair.bean.pojo.CouponUser;

import com.morehair.bean.vo.admin.BaseData;

public interface CouponService {
//    BaseData<Coupon> query(CouponReq couponReq);
    BaseData<Coupon> query(BaseReq baseReq);

    Coupon selectById(Integer id);

    BaseData<CouponUser> queryCouponUserList(BaseReq baseReq);

    Coupon create(Coupon coupon);

    Coupon couponUpdate(Coupon coupon);

    int couponDelete(Coupon coupon);

}
